package com.forenow.demo2;

public class Person {
    String name;
    double height;
    double weight;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getHeight() {
        return height;
    }

    public void setHeight(double height) {
        this.height = height;
    }

    public double getWeight() {
        return weight;
    }

    public void setWeight(double weight) {
        this.weight = weight;
    }

   public Person(String name,double height,double weight){
        this.name=name;
        this.height=height;
        this.weight=weight;
   }

    public void sayHello(){
        System.out.println("my name is "+name);
    }


}
